getFileCreator
Gets the creator of an existing Mac OS file.
public static final MRJOSType getFileCreator ( File file) throws IOException;
file
- The file whose creator you want to obtain.
- method result
- The 4-byte creator of the file.
DISCUSSION
On the Mac OS, a creator is a 4-byte character constant that the Finder uses to identify the application that should open the document file. If the desired file cannot be found, this method throwsIOException
.SEE ALSO
ThesetFileTypeAndCreator
method (page 37).The
setFileCreator
method (page 39).The "Finder Interface" chapter in Inside Macintosh: Macintosh Toolbox Essentials for information about creators.